package com.bishe.cyh.service;

import com.arcsoft.face.FaceInfo;
import com.arcsoft.face.toolkit.ImageInfo;

import java.util.List;

/**
 * @Author: Poppin
 * @Date: 2021/12/31 14:25
 * @Version: 1.0
 */
public interface FaceEngineService {

    List<FaceInfo> detectFaces(ImageInfo imageInfo) throws Exception;
    byte[] extractFaceFeature(ImageInfo imageInfo,FaceInfo faceInfo);
    float compare(byte[] targetFeature,byte[] sourceFeature);
}
